<?php
// +----------------------------------------------------------------------
// | CatchAdmin [Just Like ～ ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017~{$year} http://catchadmin.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
// +----------------------------------------------------------------------
// | Author: JaguarJack [ njphper@gmail.com ]
// +----------------------------------------------------------------------

// you should use `$router`
use catchAdmin\project\controller\Project;

/* @var think\Route $router */

$router->group(function () use ($router) {
    $router->resource("contract", \catchAdmin\contract\controller\Contract::class);
    $router->any("getContractListByPatient", '\catchAdmin\contract\controller\Contract@getContractListByPatient');
    $router->any("attention", '\catchAdmin\contract\controller\Contract@attention');
    $router->post("signGroup", '\catchAdmin\contract\controller\Contract@signingGroup');
})->middleware('auth');

/*$router->group("api", function () use ($router) {

});*/


